package com.example.springboot.utils.vo;

import java.util.HashMap;
import java.util.Map;

/**
 * TODO 增删改返回Vo
 * @author zhanghan
 * @date	2016-11-23
 */
public class ResponseResultVo {
	/**
	 * 返回是否成功
	 */
	private boolean  result;
	private Map<String,Object> data = new HashMap<String, Object>();
	/**
	 * 返回提示语
	 */
	private String  desc;
	
	public ResponseResultVo() {
	}
	
	public Map<String, Object> getData() {
		return data;
	}

	public void setData(Map<String, Object> data) {
		this.data = data;
	}

	public ResponseResultVo(boolean result, String desc) {
		this.result = result;
		this.desc = desc;
	}
	public boolean isResult() {
		return result;
	}
	public void setResult(boolean result) {
		this.result = result;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
}
